﻿using System;
using System.Collections.Generic;
using System.Text;
//
using Models;
using DAL;
using System.Collections;
using BLL.Class;
using Common;
using DbFrame;
using DbFrame.Class;

namespace BLL
{
    public class Sys_CreateCodeBL : BaseBLL
    {


        /// <summary>
        /// 获取数据库中所有的表
        /// </summary>
        /// <returns></returns>
        public List<Dictionary<string, object>> GetDatabaseAllTable()
        {
            return new Sys_CreateCodeDA().GetDatabaseAllTable();
        }

        /// <summary>
        /// 根据表获取列
        /// </summary>
        /// <param name="table"></param>
        /// <returns></returns>
        public List<Dictionary<string, object>> GetColByTable(string table)
        {
            return new Sys_CreateCodeDA().GetColByTable(table);
        }

        /// <summary>
        /// 获取所有的table
        /// </summary>
        /// <returns></returns>
        public List<Dictionary<string, object>> GetAllTable()
        {
            return new Sys_CreateCodeDA().GetAllTable();
        }






    }
}
